package com.ylr.blog.framework.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-25 23:12:13
 * className: CollectBlogEntity
 * version: 1.0
 * description:
 * 	用户收藏博客记录表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("yb_collect_blog")
public class CollectBlogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;

	/**
	 * 博客主键
	 */
	private Long blogId;

	/**
	 * 用户主键
	 */
	private Long userId;

	/**
	 * 状态[0-有效 1-无效]
	 */
	private Integer status;

	/**
	 * 更新日期
	 */
	private Date updateTime;

	/**
	 * 创建日期
	 */
	private Date createTime;

}
